package com.corpcredit.model;

// Generated Jul 22, 2008 11:56:54 PM by Hibernate Tools 3.2.0.CR1

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

/**
 * Jrjgxdxx generated by hbm2java
 */
@Entity
@Table(name = "jrjgxdxx")
public class Jrjgxdxx implements java.io.Serializable
{

    private Long id;
    private int version;
    private Jbqk jbqk;
    private String username;
    private String operation;
    private Date optdate;
    private String xydkyh;
    private BigDecimal dkye;
    private BigDecimal yhcdhpye;
    private BigDecimal dwdbye;
    private BigDecimal bldkye;
    private BigDecimal qxje;
    private String eytfzwsjyh;
    private BigDecimal eytfdkbx;

    public Jrjgxdxx()
    {
    }

    public Jrjgxdxx( Long id )
    {
        this.id = id;
    }

    public Jrjgxdxx( Long id,
                     Jbqk jbqk,
                     String username,
                     String operation,
                     Date optdate,
                     String xydkyh,
                     BigDecimal dkye,
                     BigDecimal yhcdhpye,
                     BigDecimal dwdbye,
                     BigDecimal bldkye,
                     BigDecimal qxje,
                     String eytfzwsjyh,
                     BigDecimal eytfdkbx)
    {
        this.id = id;
        this.jbqk = jbqk;
        this.username = username;
        this.operation = operation;
        this.optdate = optdate;
        this.xydkyh = xydkyh;
        this.dkye = dkye;
        this.yhcdhpye = yhcdhpye;
        this.dwdbye = dwdbye;
        this.bldkye = bldkye;
        this.qxje = qxje;
        this.eytfzwsjyh = eytfzwsjyh;
        this.eytfdkbx = eytfdkbx;
    }

    @Id
    @Column(name = "ID", unique = true, nullable = false)
    @GeneratedValue(strategy=GenerationType.AUTO)
    public Long getId()
    {
        return this.id;
    }

    public void setId( Long id )
    {
        this.id = id;
    }

    @Version
    @Column(name = "version", nullable = false)
    public int getVersion()
    {
        return this.version;
    }

    public void setVersion( int version )
    {
        this.version = version;
    }

    @OneToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "jbq_ID")
    public Jbqk getJbqk()
    {
        return this.jbqk;
    }

    public void setJbqk( Jbqk jbqk )
    {
        this.jbqk = jbqk;
    }

    @Column(name = "username", length = 50)
    public String getUsername()
    {
        return this.username;
    }

    public void setUsername( String username )
    {
        this.username = username;
    }

    @Column(name = "operation", length = 20)
    public String getOperation()
    {
        return this.operation;
    }

    public void setOperation( String operation )
    {
        this.operation = operation;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "optdate", length = 23)
    public Date getOptdate()
    {
        return this.optdate;
    }

    public void setOptdate( Date optdate )
    {
        this.optdate = optdate;
    }

    @Column(name = "xydkyh", length = 200)
    public String getXydkyh()
    {
        return this.xydkyh;
    }

    public void setXydkyh( String xydkyh )
    {
        this.xydkyh = xydkyh;
    }

    @Column(name = "dkye", precision = 18)
    public BigDecimal getDkye()
    {
        return this.dkye;
    }

    public void setDkye( BigDecimal dkye )
    {
        this.dkye = dkye;
    }

    @Column(name = "yhcdhpye", precision = 18)
    public BigDecimal getYhcdhpye()
    {
        return this.yhcdhpye;
    }

    public void setYhcdhpye( BigDecimal yhcdhpye )
    {
        this.yhcdhpye = yhcdhpye;
    }

    @Column(name = "dwdbye", precision = 18)
    public BigDecimal getDwdbye()
    {
        return this.dwdbye;
    }

    public void setDwdbye( BigDecimal dwdbye )
    {
        this.dwdbye = dwdbye;
    }

    @Column(name = "bldkye", precision = 18)
    public BigDecimal getBldkye()
    {
        return this.bldkye;
    }

    public void setBldkye( BigDecimal bldkye )
    {
        this.bldkye = bldkye;
    }

    @Column(name = "qxje", precision = 18)
    public BigDecimal getQxje()
    {
        return this.qxje;
    }

    public void setQxje( BigDecimal qxje )
    {
        this.qxje = qxje;
    }

    @Column(name = "eytfzwsjyh", length = 200)
    public String getEytfzwsjyh()
    {
        return this.eytfzwsjyh;
    }

    public void setEytfzwsjyh( String eytfzwsjyh )
    {
        this.eytfzwsjyh = eytfzwsjyh;
    }

    @Column(name = "eytfdkbx", precision = 18)
    public BigDecimal getEytfdkbx()
    {
        return this.eytfdkbx;
    }

    public void setEytfdkbx( BigDecimal eytfdkbx )
    {
        this.eytfdkbx = eytfdkbx;
    }

}
